
public class Client {
	private String name;
    private Gender gender;
    private Account account;
    public Client(String name, Gender gender, Account account) {
            this.name = name;
            this.gender = gender;
            this.account = account;
    }
    
    public String getName() {
            return name;
    }
    
    public String getSalutation(){
        if (gender == Gender.MALE) {
        	return "Mr.";
        }
        else {
        	return "Ms.";	
        }
}
    
    
    public String getClientSalutation(){
            return getSalutation()+getName();
    }

    public Account getAccount() {
            return account;
    }
}
